package com.shu.juc;

import java.util.concurrent.locks.AbstractQueuedSynchronizer;

/**
 * @author ssm
 * @version V1.0
 * @description:
 * @date 2020/7/31 10:56
 */

public class BlockingQueueTest {

    public static void main(String[] args) {
        AbstractQueuedSynchronizer abstractQueuedSynchronizer = new AbstractQueuedSynchronizer() {
            private static final long serialVersionUID = -954403379286006543L;

            /**
             * Returns a string identifying this synchronizer, as well as its state.
             * The state, in brackets, includes the String {@code "State ="}
             * followed by the current value of {@link #getState}, and either
             * {@code "nonempty"} or {@code "empty"} depending on whether the
             * queue is empty.
             *
             * @return a string identifying this synchronizer, as well as its state
             */
            @Override
            public String toString() {
                return super.toString();
            }
        };

    }

}
